<template>
  <div class="top-title">
    <div class="city">
      <slot name="city">
        <div class="">
          <i class="el-icon-map-location"></i>
          <span>东阳市</span>
          <i class="el-icon-arrow-down"></i>
        </div>
      </slot>
    </div>
    <div class="title">
      <slot name="title">
        <div>东阳智慧城市运行中心</div>
      </slot>
    </div>
    <div class="street">
      <slot name="street">
        <div><span>部门|区县|街道</span><span class="icon"></span></div>
      </slot>
    </div>
  </div>
</template>

<script>
export default {
  name: "TopTitle",
};
</script>

<style scoped lang="scss">
.top-title {
  transform: scale(0.9);
  display: grid;
  place-content: center;
  grid-template-columns: 100px 380px 120px;
  padding-top: 18px;
  cursor: pointer;
  text-align: center;
  align-items: baseline;
  .city {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 24px;
    text-align: right;
  }
  .title {
    font-size: 34px;
    font-weight: bold;
    color: #ffffff;
    line-height: 29px;
  }
  .street {
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 24px;
    text-align: left;
  }
}
</style>
